home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Headers / Universal Headers 2.0.1f / Finder.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-22  |  2.3 KB  |  91 lines  |  [TEXT/MMCC]

  1. /*
  2.      File:        Finder.h
  3.  
  4.      Contains:    Finder flags and container types.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Package:    Universal Interfaces 2.0 in “MPW Latest” on ETO #17
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. */
  19.  
  20. #ifndef __FINDER__
  21. #define __FINDER__
  22.  
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. #if PRAGMA_ALIGN_SUPPORTED
  29. #pragma options align=mac68k
  30. #endif
  31.  
  32. #if PRAGMA_IMPORT_SUPPORTED
  33. #pragma import on
  34. #endif
  35.  
  36.  
  37. enum {
  38. /* Make only the following consts avaiable to resource files that include this file */
  39.     kCustomIconResource            = -16455,                        /* Custom icon family resource ID */
  40.     kContainerFolderAliasType    = 'fdrp',                        /* type for folder aliases */
  41.     kContainerTrashAliasType    = 'trsh',                        /* type for trash folder aliases */
  42.     kContainerHardDiskAliasType    = 'hdsk',                        /* type for hard disk aliases */
  43.     kContainerFloppyAliasType    = 'flpy',                        /* type for floppy aliases */
  44.     kContainerServerAliasType    = 'srvr',                        /* type for server aliases */
  45.     kApplicationAliasType        = 'adrp',                        /* type for application aliases */
  46.     kContainerAliasType            = 'drop',                        /* type for all other containers */
  47. /* types for Special folder aliases */
  48.     kSystemFolderAliasType        = 'fasy',
  49.     kAppleMenuFolderAliasType    = 'faam',
  50.     kStartupFolderAliasType        = 'fast',
  51.     kPrintMonitorDocsFolderAliasType = 'fapn',
  52.     kPreferencesFolderAliasType    = 'fapf',
  53.     kControlPanelFolderAliasType = 'fact',
  54.     kExtensionFolderAliasType    = 'faex',
  55. /* types for AppleShare folder aliases */
  56.     kExportedFolderAliasType    = 'faet',
  57.     kDropFolderAliasType        = 'fadr',
  58.     kSharedFolderAliasType        = 'fash',
  59.     kMountedFolderAliasType        = 'famn'
  60. };
  61.  
  62. enum {
  63. /* Finder Flags */
  64.     kIsOnDesk                    = 0x1,
  65.     kColor                        = 0xE,
  66.     kIsShared                    = 0x40,
  67.     kHasBeenInited                = 0x100,
  68.     kHasCustomIcon                = 0x400,
  69.     kIsStationery                = 0x800,
  70.     kIsStationary                = 0x800,
  71.     kNameLocked                    = 0x1000,
  72.     kHasBundle                    = 0x2000,
  73.     kIsInvisible                = 0x4000,
  74.     kIsAlias                    = 0x8000
  75. };
  76.  
  77.  
  78. #if PRAGMA_IMPORT_SUPPORTED
  79. #pragma import off
  80. #endif
  81.  
  82. #if PRAGMA_ALIGN_SUPPORTED
  83. #pragma options align=reset
  84. #endif
  85.  
  86. #ifdef __cplusplus
  87. }
  88. #endif
  89.  
  90. #endif /* __FINDER__ */
  91.